\hypertarget{classfilesystem_1_1client_1_1Client}{\section{Referência da Classe filesystem.\-client.\-Client}
\label{classfilesystem_1_1client_1_1Client}\index{filesystem.\-client.\-Client@{filesystem.\-client.\-Client}}
}


Diagrama de colaboração para filesystem.\-client.\-Client\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=202pt]{classfilesystem_1_1client_1_1Client__coll__graph}
\end{center}
\end{figure}
\subsection*{Métodos Públicos}
\begin{DoxyCompactItemize}
\item 
Peer\-Group \hyperlink{classfilesystem_1_1client_1_1Client_a475a5adbf19290cdddda4bad64c82eb6}{get\-Peer\-Group} ()
\item 
\hyperlink{classfilesystem_1_1client_1_1Client_a864637f97b46b5988c18094a62e5e5f4}{Client} (boolean wait)
\item 
String \hyperlink{classfilesystem_1_1client_1_1Client_a1ef9d22a3a0f63fb6613b250ed381b60}{send\-Message} (String message)
\item 
void \hyperlink{classfilesystem_1_1client_1_1Client_afbf3364890423d7adb7ddec17cbd1bc9}{Read} (String path)
\item 
void \hyperlink{classfilesystem_1_1client_1_1Client_a525e429a253be7ead20c8d57e3002cf5}{Delete} (String path)
\item 
void \hyperlink{classfilesystem_1_1client_1_1Client_a3982926eb10f66e93a6790e1cdb01f7d}{Create} (String path)
\item 
void \hyperlink{classfilesystem_1_1client_1_1Client_a1cd32ed95268feb2acf7ac1fad6fd3d6}{Write} (String path)
\end{DoxyCompactItemize}
\subsection*{Métodos Públicos Estáticos}
\begin{DoxyCompactItemize}
\item 
static Pipe\-Advertisement \hyperlink{classfilesystem_1_1client_1_1Client_a4c7190d645b2066f7c01282fe2af4c4a}{create\-Advertisement} (Peer\-Group peergroup)
\item 
static Pipe\-Advertisement \hyperlink{classfilesystem_1_1client_1_1Client_a34a1a0d266e8d3cb3dd281645370511f}{create\-Advertisement} (Peer\-Group peergroup, String socket\-Node)
\item 
static void \hyperlink{classfilesystem_1_1client_1_1Client_acd6aa25f1b2a02d7bb48538dd6c8a755}{main} (String\mbox{[}$\,$\mbox{]} args)
\end{DoxyCompactItemize}


\subsection{Descrição Detalhada}
Classe que gerencia os clientes 

\subsection{Construtores \& Destrutores}
\hypertarget{classfilesystem_1_1client_1_1Client_a864637f97b46b5988c18094a62e5e5f4}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!Client@{Client}}
\index{Client@{Client}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{Client}]{\setlength{\rightskip}{0pt plus 5cm}filesystem.\-client.\-Client.\-Client (
\begin{DoxyParamCaption}
\item[{boolean}]{wait}
\end{DoxyParamCaption}
)}}\label{classfilesystem_1_1client_1_1Client_a864637f97b46b5988c18094a62e5e5f4}
Instancia a classe client e inicializa a rede do J\-X\-T\-A.


\begin{DoxyParams}{Parâmetros}
{\em wait} & Se deve esperar Rendezvous. \\
\hline
\end{DoxyParams}


Este é o diagrama das funções que utilizam esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_a864637f97b46b5988c18094a62e5e5f4_icgraph}
\end{center}
\end{figure}




\subsection{Métodos}
\hypertarget{classfilesystem_1_1client_1_1Client_a4c7190d645b2066f7c01282fe2af4c4a}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!create\-Advertisement@{create\-Advertisement}}
\index{create\-Advertisement@{create\-Advertisement}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{create\-Advertisement}]{\setlength{\rightskip}{0pt plus 5cm}static Pipe\-Advertisement filesystem.\-client.\-Client.\-create\-Advertisement (
\begin{DoxyParamCaption}
\item[{Peer\-Group}]{peergroup}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classfilesystem_1_1client_1_1Client_a4c7190d645b2066f7c01282fe2af4c4a}
Cria um Pipe\-Advertisement do nó.


\begin{DoxyParams}{Parâmetros}
{\em peergroup} & O grupo de peers. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Retorna}
O próprio Pipe\-Advertisement. 
\end{DoxyReturn}


Este é o diagrama das funções que utilizam esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_a4c7190d645b2066f7c01282fe2af4c4a_icgraph}
\end{center}
\end{figure}


\hypertarget{classfilesystem_1_1client_1_1Client_a34a1a0d266e8d3cb3dd281645370511f}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!create\-Advertisement@{create\-Advertisement}}
\index{create\-Advertisement@{create\-Advertisement}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{create\-Advertisement}]{\setlength{\rightskip}{0pt plus 5cm}static Pipe\-Advertisement filesystem.\-client.\-Client.\-create\-Advertisement (
\begin{DoxyParamCaption}
\item[{Peer\-Group}]{peergroup, }
\item[{String}]{socket\-Node}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classfilesystem_1_1client_1_1Client_a34a1a0d266e8d3cb3dd281645370511f}
Cria um Pipe\-Advertisement por um identificador de pipe.


\begin{DoxyParams}{Parâmetros}
{\em peergroup} & O grupo de peers. \\
\hline
{\em socket\-Node} & O identificador do socket. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Retorna}
O próprio Pipe\-Advertisement. 
\end{DoxyReturn}
\hypertarget{classfilesystem_1_1client_1_1Client_a475a5adbf19290cdddda4bad64c82eb6}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!get\-Peer\-Group@{get\-Peer\-Group}}
\index{get\-Peer\-Group@{get\-Peer\-Group}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{get\-Peer\-Group}]{\setlength{\rightskip}{0pt plus 5cm}Peer\-Group filesystem.\-client.\-Client.\-get\-Peer\-Group (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classfilesystem_1_1client_1_1Client_a475a5adbf19290cdddda4bad64c82eb6}
Obtém o Peer\-Group do client.

\begin{DoxyReturn}{Retorna}
O próprio Peer\-Group 
\end{DoxyReturn}


Este é o diagrama das funções que utilizam esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_a475a5adbf19290cdddda4bad64c82eb6_icgraph}
\end{center}
\end{figure}


\hypertarget{classfilesystem_1_1client_1_1Client_a1ef9d22a3a0f63fb6613b250ed381b60}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!send\-Message@{send\-Message}}
\index{send\-Message@{send\-Message}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{send\-Message}]{\setlength{\rightskip}{0pt plus 5cm}String filesystem.\-client.\-Client.\-send\-Message (
\begin{DoxyParamCaption}
\item[{String}]{message}
\end{DoxyParamCaption}
)}}\label{classfilesystem_1_1client_1_1Client_a1ef9d22a3a0f63fb6613b250ed381b60}
Envia mensagem ao servidor via socket.

Envia uma mensagem ao servidor e aguarda a resposta da mesma.


\begin{DoxyParams}{Parâmetros}
{\em message} & String a ser enviada ao servidor. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Retorna}
Resposta do servidor. 
\end{DoxyReturn}


Este é o diagrama das funções que utilizam esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_a1ef9d22a3a0f63fb6613b250ed381b60_icgraph}
\end{center}
\end{figure}


\hypertarget{classfilesystem_1_1client_1_1Client_afbf3364890423d7adb7ddec17cbd1bc9}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!Read@{Read}}
\index{Read@{Read}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{Read}]{\setlength{\rightskip}{0pt plus 5cm}void filesystem.\-client.\-Client.\-Read (
\begin{DoxyParamCaption}
\item[{String}]{path}
\end{DoxyParamCaption}
)}}\label{classfilesystem_1_1client_1_1Client_afbf3364890423d7adb7ddec17cbd1bc9}
Faz requisição de leitura de um arquivo.


\begin{DoxyParams}{Parâmetros}
{\em path} & Caminho para o arquivo a ser enviado. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceções}
{\em U\-R\-I\-Syntax\-Exception} & \\
\hline
\end{DoxyExceptions}


Este é o diagrama das funções utilizadas por esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_afbf3364890423d7adb7ddec17cbd1bc9_cgraph}
\end{center}
\end{figure}


\hypertarget{classfilesystem_1_1client_1_1Client_a525e429a253be7ead20c8d57e3002cf5}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!Delete@{Delete}}
\index{Delete@{Delete}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{Delete}]{\setlength{\rightskip}{0pt plus 5cm}void filesystem.\-client.\-Client.\-Delete (
\begin{DoxyParamCaption}
\item[{String}]{path}
\end{DoxyParamCaption}
)}}\label{classfilesystem_1_1client_1_1Client_a525e429a253be7ead20c8d57e3002cf5}
Faz requisição da remoção de um arquivo.


\begin{DoxyParams}{Parâmetros}
{\em path} & Caminho do arquivo. \\
\hline
\end{DoxyParams}


Este é o diagrama das funções utilizadas por esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_a525e429a253be7ead20c8d57e3002cf5_cgraph}
\end{center}
\end{figure}


\hypertarget{classfilesystem_1_1client_1_1Client_a3982926eb10f66e93a6790e1cdb01f7d}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!Create@{Create}}
\index{Create@{Create}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{Create}]{\setlength{\rightskip}{0pt plus 5cm}void filesystem.\-client.\-Client.\-Create (
\begin{DoxyParamCaption}
\item[{String}]{path}
\end{DoxyParamCaption}
)}}\label{classfilesystem_1_1client_1_1Client_a3982926eb10f66e93a6790e1cdb01f7d}
Faz requisição da criacão de um arquivo.


\begin{DoxyParams}{Parâmetros}
{\em path} & Caminho do arquivo. \\
\hline
\end{DoxyParams}


Este é o diagrama das funções utilizadas por esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_a3982926eb10f66e93a6790e1cdb01f7d_cgraph}
\end{center}
\end{figure}


\hypertarget{classfilesystem_1_1client_1_1Client_a1cd32ed95268feb2acf7ac1fad6fd3d6}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!Write@{Write}}
\index{Write@{Write}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{Write}]{\setlength{\rightskip}{0pt plus 5cm}void filesystem.\-client.\-Client.\-Write (
\begin{DoxyParamCaption}
\item[{String}]{path}
\end{DoxyParamCaption}
)}}\label{classfilesystem_1_1client_1_1Client_a1cd32ed95268feb2acf7ac1fad6fd3d6}
Faz a requisição para a alteração de um arquivo


\begin{DoxyParams}{Parâmetros}
{\em path} & O caminho da versão mais nova do arquivo. \\
\hline
\end{DoxyParams}


Este é o diagrama das funções utilizadas por esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_a1cd32ed95268feb2acf7ac1fad6fd3d6_cgraph}
\end{center}
\end{figure}


\hypertarget{classfilesystem_1_1client_1_1Client_acd6aa25f1b2a02d7bb48538dd6c8a755}{\index{filesystem\-::client\-::\-Client@{filesystem\-::client\-::\-Client}!main@{main}}
\index{main@{main}!filesystem::client::Client@{filesystem\-::client\-::\-Client}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}static void filesystem.\-client.\-Client.\-main (
\begin{DoxyParamCaption}
\item[{String\mbox{[}$\,$\mbox{]}}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classfilesystem_1_1client_1_1Client_acd6aa25f1b2a02d7bb48538dd6c8a755}
Inicializa o cliente, aguardando conexões de outros nós e os comandos do usuário.


\begin{DoxyParams}{Parâmetros}
{\em args} & Arquivo para armazenamento dos tempos das operações. \\
\hline
\end{DoxyParams}


Este é o diagrama das funções utilizadas por esta função\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfilesystem_1_1client_1_1Client_acd6aa25f1b2a02d7bb48538dd6c8a755_cgraph}
\end{center}
\end{figure}




A documentação para esta classe foi gerada a partir do seguinte arquivo\-:\begin{DoxyCompactItemize}
\item 
src/filesystem/client/\hyperlink{Client_8java}{Client.\-java}\end{DoxyCompactItemize}
